<html>
	<head>
		<meta content="text/html; charset=UTF-8" http-equiv="content-type">
		<title>Game</title>
		<script src="js/jquery-latest.js"></script>
		<script src="js/jquery.form.js"></script>
		<link href="css/style.css" type="text/css" rel="stylesheet" />
		<!--[if IE]>
		<link rel="stylesheet" type="text/css" href="css/fix_ie.css" />
		<![endif]-->
		<script type="text/javascript">
			function validate(form)
			{
				if(form.username.value == "")
				{
					$("#warning-username").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.username.value.length > 20)
				{
					$("#warning-username-maxlength").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.password.value == "")
				{
					$("#warning-password").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.password2.value == "")
				{
					$("#warning-password2_1").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.password.value != form.password2.value)
				{
					$("#warning-password2_2").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.email.value == "")
				{
					$("#warning-email-1").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(!validEmail(form.email))
				{
					$("#warning-email-2").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.fullname.value == "")
				{
					$("#warning-fullname").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.fullname.length > 50)
				{
					$("#warning-fullname-maxlength").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.birthday_day.value == -1 || form.birthday_month.value == -1 || form.birthday_year.value == -1)
				{
					$("#warning-birthday").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.indentify.value == "")
				{
					$("#warning-indentify").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.address.value == "")
				{
					$("#warning-address").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
				else if(form.phone.value == "")
				{
					$("#warning-phone").fadeIn(500).delay(3000).fadeOut(500);
					return false;
				}
			}
				
			function validEmail(email) 
			{
				var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
				if (!filter.test(email.value)) {
					return false;
				}
				return true;
			}
		</script>
		
	</head>
	<body>
		<!--[if IE]>

		<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>

		<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div>

		<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>

		  <div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div>

		  <div style='width: 275px; float: left; font-family: Arial, sans-serif;'>

			<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'><?php echo '_LB_IE6_ALERT_1'; ?></div>

			<div style='font-size: 12px; margin-top: 6px; line-height: 12px;'><?php echo '_LB_IE6_ALERT_2'; ?></div>

		  </div>

		  <div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/></a></div>

		  <div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/></a></div>

		  <div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div>

		</div>

		</div>

		<![endif]-->
		<div class="container">
			<div class="top-bar">
				<div id="game-logo" ></div>
				<div id="login-box" class="login-box">
					<{include file='loginbox.tpl'}>
				</div>
			</div>
			<div class="main">
				<div class="box" id="register-form">
					<h3 id="title"><{$title}></h3>
					<div class="register-form">
						<form action="register.php" onsubmit="return validate(this);" method="post">
							<div style="width: 120px;"><{$smarty.const._LB_USERNAME}>:</div>
							<div style="width: 230px;">
								<input type="text" style="width: 240px;" name="username" value="<{$username}>" maxlength="<{$smarty.const.MAX_LEN_USERNAME}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-username" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_USERNAME_EMPTY}></li></span>
								<span id="warning-username-maxlength" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_MAX_LENGTH_USERNAME}></li></span>
							</div>
							<div style="width: 120px;"><{$smarty.const._LB_PASSWORD}>:</div>
							<div style="width: 230px;"><input type="password" style="width: 240px;" name="password" maxlength="<{$smarty.const.MAX_LEN_USERNAME}>"/></div>
							<div id="warning-password" style="width: 490px; padding-left: 145px; display: none;">
								<span><li style="color: Red;"><{$smarty.const._ERR_PASSWORD_EMPTY}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_RETYPE_PASSWORD}>:</div>
							<div style="width: 230px;"><input type="password" style="width: 240px;" name="password2" maxlength="<{$smarty.const.MAX_LEN_USERNAME}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-password2_1" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_REPEAT_PASSWORD_EMPTY}></li></span>
								<span id="warning-password2_2" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_REPEAT_PASSWORD_NOT_MATCH}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_EMAIL}>:</div>
							<div style="width: 230px;"><input type="text" style="width: 240px;" name="email"  value="<{$email}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-email-1" style="display: none;"><li style="color: Red;"><{$smarty.const._LB_EMAIL_EMPTY}></li></span>
								<span id="warning-email-2" style="display: none;"><li style="color: Red;"><{$smarty.const._LB_INVALID_EMAIL}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_NAME}>:</div>
							<div style="width: 230px;"><input type="text" style="width: 240px;" name="fullname" value="<{$fullname}>" maxlength="<{$smarty.const.MAX_LEN_FULLNAME}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-fullname" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_NAME_EMPTY}></li></span>
								<span id="warning-fullname-maxlength" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_MAX_LENGTH_FULLNAME}></li></span>
							</div>
							
							<div style="width: 150px;"><{$smarty.const._LB_DATE_OF_BIRTH}>:</div>
							<span>
								<select name="birthday_day">
									<option value="-1">--</option>
									<option <{if isset($birthday_day) && $birthday_day eq 1}>selected="selected"<{/if}> value="1">1</option>
									<option <{if isset($birthday_day) && $birthday_day eq 2}>selected="selected"<{/if}> value="2">2</option>
									<option <{if isset($birthday_day) && $birthday_day eq 3}>selected="selected"<{/if}> value="3">3</option>
									<option <{if isset($birthday_day) && $birthday_day eq 4}>selected="selected"<{/if}> value="4">4</option>

									<option <{if isset($birthday_day) && $birthday_day eq 5}>selected="selected"<{/if}> value="5">5</option>
									<option <{if isset($birthday_day) && $birthday_day eq 6}>selected="selected"<{/if}> value="6">6</option>
									<option <{if isset($birthday_day) && $birthday_day eq 7}>selected="selected"<{/if}> value="7">7</option>
									<option <{if isset($birthday_day) && $birthday_day eq 8}>selected="selected"<{/if}> value="8">8</option>
									<option <{if isset($birthday_day) && $birthday_day eq 9}>selected="selected"<{/if}> value="9">9</option>
									<option <{if isset($birthday_day) && $birthday_day eq 10}>selected="selected"<{/if}> value="10">10</option>

									<option <{if isset($birthday_day) && $birthday_day eq 11}>selected="selected"<{/if}> value="11">11</option>
									<option <{if isset($birthday_day) && $birthday_day eq 12}>selected="selected"<{/if}> value="12">12</option>
									<option <{if isset($birthday_day) && $birthday_day eq 13}>selected="selected"<{/if}> value="13">13</option>
									<option <{if isset($birthday_day) && $birthday_day eq 14}>selected="selected"<{/if}> value="14">14</option>
									<option <{if isset($birthday_day) && $birthday_day eq 15}>selected="selected"<{/if}> value="15">15</option>
									<option <{if isset($birthday_day) && $birthday_day eq 16}>selected="selected"<{/if}> value="16">16</option>

									<option <{if isset($birthday_day) && $birthday_day eq 17}>selected="selected"<{/if}> value="17">17</option>
									<option <{if isset($birthday_day) && $birthday_day eq 18}>selected="selected"<{/if}> value="18">18</option>
									<option <{if isset($birthday_day) && $birthday_day eq 19}>selected="selected"<{/if}> value="19">19</option>
									<option <{if isset($birthday_day) && $birthday_day eq 20}>selected="selected"<{/if}> value="20">20</option>
									<option <{if isset($birthday_day) && $birthday_day eq 21}>selected="selected"<{/if}> value="21">21</option>
									<option <{if isset($birthday_day) && $birthday_day eq 22}>selected="selected"<{/if}> value="22">22</option>

									<option <{if isset($birthday_day) && $birthday_day eq 23}>selected="selected"<{/if}> value="23">23</option>
									<option <{if isset($birthday_day) && $birthday_day eq 24}>selected="selected"<{/if}> value="24">24</option>
									<option <{if isset($birthday_day) && $birthday_day eq 25}>selected="selected"<{/if}> value="25">25</option>
									<option <{if isset($birthday_day) && $birthday_day eq 26}>selected="selected"<{/if}> value="26">26</option>
									<option <{if isset($birthday_day) && $birthday_day eq 27}>selected="selected"<{/if}> value="27">27</option>
									<option <{if isset($birthday_day) && $birthday_day eq 28}>selected="selected"<{/if}> value="28">28</option>

									<option <{if isset($birthday_day) && $birthday_day eq 29}>selected="selected"<{/if}> value="29">29</option>
									<option <{if isset($birthday_day) && $birthday_day eq 30}>selected="selected"<{/if}> value="30">30</option>
									<option <{if isset($birthday_day) && $birthday_day eq 31}>selected="selected"<{/if}> value="31">31</option>

								</select>
							</span>
							<span>
								<select name="birthday_month">

									<option value="-1">--</option>
									<option <{if isset($birthday_month) && $birthday_month eq 1}>selected="selected"<{/if}> value="1">1</option>
									<option <{if isset($birthday_month) && $birthday_month eq 2}>selected="selected"<{/if}> value="2">2</option>
									<option <{if isset($birthday_month) && $birthday_month eq 3}>selected="selected"<{/if}> value="3">3</option>
									<option <{if isset($birthday_month) && $birthday_month eq 4}>selected="selected"<{/if}> value="4">4</option>
									<option <{if isset($birthday_month) && $birthday_month eq 5}>selected="selected"<{/if}> value="5">5</option>
									<option <{if isset($birthday_month) && $birthday_month eq 6}>selected="selected"<{/if}> value="6">6</option>
									<option <{if isset($birthday_month) && $birthday_month eq 7}>selected="selected"<{/if}> value="7">7</option>
									<option <{if isset($birthday_month) && $birthday_month eq 8}>selected="selected"<{/if}> value="8">8</option>
									<option <{if isset($birthday_month) && $birthday_month eq 9}>selected="selected"<{/if}> value="9">9</option>
									<option <{if isset($birthday_month) && $birthday_month eq 10}>selected="selected"<{/if}> value="10">10</option>
									<option <{if isset($birthday_month) && $birthday_month eq 11}>selected="selected"<{/if}> value="11">11</option>
									<option <{if isset($birthday_month) && $birthday_month eq 12}>selected="selected"<{/if}> value="12">12</option>
								</select>
							</span>
							<span>
								<select id="birthday_year" name="birthday_year">
									<option value="-1">--</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1922}>selected="selected"<{/if}> value="1922">1922</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1923}>selected="selected"<{/if}> value="1923">1923</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1924}>selected="selected"<{/if}> value="1924">1924</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1925}>selected="selected"<{/if}> value="1925">1925</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1926}>selected="selected"<{/if}> value="1926">1926</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1927}>selected="selected"<{/if}> value="1927">1927</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1928}>selected="selected"<{/if}> value="1928">1928</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1929}>selected="selected"<{/if}> value="1929">1929</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1930}>selected="selected"<{/if}> value="1930">1930</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1931}>selected="selected"<{/if}> value="1931">1931</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1932}>selected="selected"<{/if}> value="1932">1932</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1933}>selected="selected"<{/if}> value="1933">1933</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1934}>selected="selected"<{/if}> value="1934">1934</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1935}>selected="selected"<{/if}> value="1935">1935</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1936}>selected="selected"<{/if}> value="1936">1936</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1937}>selected="selected"<{/if}> value="1937">1937</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1938}>selected="selected"<{/if}> value="1938">1938</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1939}>selected="selected"<{/if}> value="1939">1939</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1940}>selected="selected"<{/if}> value="1940">1940</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1941}>selected="selected"<{/if}> value="1941">1941</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1942}>selected="selected"<{/if}> value="1942">1942</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1943}>selected="selected"<{/if}> value="1943">1943</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1944}>selected="selected"<{/if}> value="1944">1944</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1945}>selected="selected"<{/if}> value="1945">1945</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1946}>selected="selected"<{/if}> value="1946">1946</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1947}>selected="selected"<{/if}> value="1947">1947</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1948}>selected="selected"<{/if}> value="1948">1948</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1949}>selected="selected"<{/if}> value="1949">1949</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1950}>selected="selected"<{/if}> value="1950">1950</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1951}>selected="selected"<{/if}> value="1951">1951</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1952}>selected="selected"<{/if}> value="1952">1952</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1953}>selected="selected"<{/if}> value="1953">1953</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1954}>selected="selected"<{/if}> value="1954">1954</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1955}>selected="selected"<{/if}> value="1955">1955</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1956}>selected="selected"<{/if}> value="1956">1956</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1957}>selected="selected"<{/if}> value="1957">1957</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1958}>selected="selected"<{/if}> value="1958">1958</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1959}>selected="selected"<{/if}> value="1959">1959</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1960}>selected="selected"<{/if}> value="1960">1960</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1961}>selected="selected"<{/if}> value="1961">1961</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1962}>selected="selected"<{/if}> value="1962">1962</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1963}>selected="selected"<{/if}> value="1963">1963</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1964}>selected="selected"<{/if}> value="1964">1964</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1965}>selected="selected"<{/if}> value="1965">1965</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1966}>selected="selected"<{/if}> value="1966">1966</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1967}>selected="selected"<{/if}> value="1967">1967</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1968}>selected="selected"<{/if}> value="1968">1968</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1969}>selected="selected"<{/if}> value="1969">1969</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1970}>selected="selected"<{/if}> value="1970">1970</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1969}>selected="selected"<{/if}> value="1971">1971</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1972}>selected="selected"<{/if}> value="1972">1972</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1973}>selected="selected"<{/if}> value="1973">1973</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1974}>selected="selected"<{/if}> value="1974">1974</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1975}>selected="selected"<{/if}> value="1975">1975</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1976}>selected="selected"<{/if}> value="1976">1976</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1977}>selected="selected"<{/if}> value="1977">1977</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1978}>selected="selected"<{/if}> value="1978">1978</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1979}>selected="selected"<{/if}> value="1979">1979</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1980}>selected="selected"<{/if}> value="1980">1980</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1981}>selected="selected"<{/if}> value="1981">1981</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1982}>selected="selected"<{/if}> value="1982">1982</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1983}>selected="selected"<{/if}> value="1983">1983</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1984}>selected="selected"<{/if}> value="1984">1984</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1985}>selected="selected"<{/if}> value="1985">1985</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1986}>selected="selected"<{/if}> value="1986">1986</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1987}>selected="selected"<{/if}> value="1987">1987</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1988}>selected="selected"<{/if}> value="1988">1988</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1989}>selected="selected"<{/if}> value="1989">1989</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1990}>selected="selected"<{/if}> value="1990">1990</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1991}>selected="selected"<{/if}> value="1991">1991</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1992}>selected="selected"<{/if}> value="1992">1992</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1993}>selected="selected"<{/if}> value="1993">1993</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1994}>selected="selected"<{/if}> value="1994">1994</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1995}>selected="selected"<{/if}> value="1995">1995</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1996}>selected="selected"<{/if}> value="1996">1996</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1997}>selected="selected"<{/if}> value="1997">1997</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1998}>selected="selected"<{/if}> value="1998">1998</option>
									<option <{if isset($birthday_year) && $birthday_year eq 1999}>selected="selected"<{/if}> value="1999">1999</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2000}>selected="selected"<{/if}> value="2000">2000</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2001}>selected="selected"<{/if}> value="2001">2001</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2002}>selected="selected"<{/if}> value="2002">2002</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2003}>selected="selected"<{/if}> value="2003">2003</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2004}>selected="selected"<{/if}> value="2004">2004</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2005}>selected="selected"<{/if}> value="2005">2005</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2006}>selected="selected"<{/if}> value="2006">2006</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2007}>selected="selected"<{/if}> value="2007">2007</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2008}>selected="selected"<{/if}> value="2008">2008</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2009}>selected="selected"<{/if}> value="2009">2009</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2010}>selected="selected"<{/if}> value="2010">2010</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2011}>selected="selected"<{/if}> value="2011">2011</option>
									<option <{if isset($birthday_year) && $birthday_year eq 2012}>selected="selected"<{/if}> value="2012">2012</option>
								</select>
							</span>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-birthday" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_INVALID_DATE_OF_BIRTH}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_GENDER}>:</div>
							<div>
								<select name="sex">
									<option value="1" <{if isset($sex) && $sex eq 1}>selected="selected"<{/if}>><{$smarty.const._LB_MALE}></option>
									<option value="0" <{if isset($sex) && $sex eq 0}>selected="selected"<{/if}>><{$smarty.const._LB_FEMALE}></option>
								</select>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_CARD_NO}>:</div>
							<div style="width: 230px;"><input type="text" style="width: 240px;" name="indentify" value="<{$indentify}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-indentify" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_PASSPORT_EMPTY}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_ADDRESS}>:</div>
							<div style="width: 230px;"><input type="text" style="width: 240px;" name="address" value="<{$address}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-address" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_ADDRESS_EMPTY}></li></span>
							</div>
							
							<div style="width: 120px;"><{$smarty.const._LB_PHONE_NO}>:</div>
							<div style="width: 230px;"><input type="text" style="width: 240px;" name="phone" value="<{$phone}>"/></div>
							<div style="width: 490px; padding-left: 145px;">
								<span id="warning-phone" style="display: none;"><li style="color: Red;"><{$smarty.const._ERR_PHONE_EMPTY}></li></span>
							</div>
							
							<input type="hidden" name="form_id" value="<{$form_id}>">
							<span style="padding-right: 10px;"><input type="submit" value="<{$smarty.const._LB_SIGN_UP}>"></span>
							<span style="padding-left: 10px;"><input type="reset" value="<{$smarty.const._LB_RESET}>"></span>
						</form>
							<div class="message_notice" style="text-align: center; color: grey; font-size: 12px; font-weight: italic;"><{$smarty.const._MSG_NOTIFY_PLAYER_FULL_FILL_INFO}></div>
						<{if $message}>
							<div class="message_box" style="text-align: center; color: red; font-size: 14px;"><{$message}></div>
						<{/if}>
					</div>
				</div>
				<div class="box game-logo-list">
					<ul>
						<li><a href="getthepicture.php"><img src="images/select-getthepicture.png" alt="<{$smarty.const._LB_GET_THE_PICTURE}>" /></a></li>
						<li><a href="culturalmosaic.php"><img src="images/select-culturalmosaic.png" alt="<{$smarty.const._LB_CULTURAL_MOSAIC}>" /></a></li>
						<li><a href="tettettet.php"><img src="images/select-tettettet.png" alt="<{$smarty.const._LB_TET_TET_TET}>" /></a></li>
						<li><a href="http://www.tuoitrenews.vn/cmlink/tuoitrenews/game/who-s-who-writing-contest-1.58636"><img src="images/select-who.png" alt="<{$smarty.const._LB_CONTEST_WHO}>" /></a></li>
					</ul>
				</div>
			</div>
			<div class="side">
				<div class="adv">
					<a href="http://www.eximbank.com.vn/vn/" target="_blank" ><img src="images/EXIMBANK.jpg" /></a>
				</div>

				<div class="box metal">
					<h3><{$smarty.const._LB_CONTEST_NEWS}></h3>
					<div class="content">
						<ul style="list-style:none;text-align:left;">
							<li><a style="font-size:16px;" href="http://www.tuoitrenews.vn/cmlink/tuoitrenews/game/tuoitrenews-launches-get-the-picture-contest-1.58715" target="_blank"><{$smarty.const._LB_CONTEST_RULES}></a></li>
							<li><a style="font-size:16px;" href="http://www.tuoitrenews.vn/cmlink/tuoitrenews/game/who-s-who-writing-contest-1.58636" target="_blank"><{$smarty.const._LB_CONTEST_WHO}></a></li>
							<li><a style="font-size:16px;" href="http://tuoitrenews.vn/cmlink/tuoitrenews/lifestyle/tuoi-tre-initiates-traditional-tet-program-1.57815" target="_blank"><{$smarty.const._LB_ONLINE_TET}></a></li>
						</ul>
					</div>
				</div>

				<div class="box pink">
					<{include file='latest_players.tpl'}>
				</div>
				
				<div class="clear"></div>
			</div>
			<div class="footer">
				<a href="http://www.eximbank.com.vn/vn/" target="_blank" ><img src="images/Eximbank-Ad.gif" width="934" height="123" /></a>
			</div>
			<div class="clear"></div>
		</div>
		
	</body>
</html>
